package com.dxx.cloud.admin.module.request;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotNull;

import java.math.BigDecimal;

/**
 * @author duh
 * @create 2018/12/28 14:10

 **/
@Schema(description = "客户还款请求体")
public class CustomerRepayRequest {
    @Schema(description="id",example="1")
    @NotNull
    private Integer id;

    @Schema(description="还款金额",example="100")
    @Min(0)
    private BigDecimal repayAccount;

    @Schema(description="修改人",example="我是修改人")
    private String updater;

    @Schema(description="操作者",example="admin")
    private String operator;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public BigDecimal getRepayAccount() {
        return repayAccount;
    }

    public void setRepayAccount(BigDecimal repayAccount) {
        this.repayAccount = repayAccount;
    }

    public String getUpdater() {
        return updater;
    }

    public void setUpdater(String updater) {
        this.updater = updater;
    }

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }
}
